package com.gsww.vue.entity.sys;
import java.util.List;

/**
 * 
 * TODO(资源树实体定义)
 * @author zhangxj
 * @date 2017年12月4日下午2:57:34
 *
 */
public class SysResourceTree {
    /**
     * 节点id
     */
	private String pkId;
	/**
     * 节点名字
     */
	private String name;
	private String title;
	private Boolean open;
	/**
     * 子节点
     */
	private List<SysResourceTree> children; 
	/**
     * 节点类型标识值
     */
	private String customType;
	/**
     * 父节点id
     */
	private String parId; 
	/**
     * 是否选中
     */
	private Boolean checked; 
	private Boolean selected;
	/**
     * 节点是否显示checkbox，这样就可以实现某些节点没有复选框，要求树type为checkbox
     */
	private Boolean checkbox;
	/**
     * 节点是否横向排布
     */
	private Boolean horiz; 
	private String icon;
	/**
     * 节点选中时是否影响其父节点，没有默认为true
     */
	private Boolean checkInteractParent; 
	/**
     * 节点选中时是否影响其子节点，没有默认为true
     */
	private Boolean checkInteractSub;
	/**
     * 节点取消选中时是否影响其父节点，没有默认为true
     */
	private Boolean uncheckInteractParent; 
	/**
     * 节点取消选中时是否影响其子节点，没有默认为true
     */
	private Boolean uncheckInteractSub; 
	/**
     * 子节点
     */
	private List<SysResourceTree> nodes; 

	public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCustomType() {
		return customType;
	}

	public void setCustomType(String customType) {
		this.customType = customType;
	}

	public String getParId() {
		return parId;
	}

	public void setParId(String parId) {
		this.parId = parId;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public Boolean isCheckbox() {
		return checkbox;
	}

	public void setCheckbox(Boolean checkbox) {
		this.checkbox = checkbox;
	}

	public Boolean isHoriz() {
		return horiz;
	}

	public void setHoriz(Boolean horiz) {
		this.horiz = horiz;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Boolean isCheckInteractParent() {
		return checkInteractParent;
	}

	public void setCheckInteractParent(Boolean checkInteractParent) {
		this.checkInteractParent = checkInteractParent;
	}

	public Boolean isCheckInteractSub() {
		return checkInteractSub;
	}

	public void setCheckInteractSub(Boolean checkInteractSub) {
		this.checkInteractSub = checkInteractSub;
	}

	public Boolean isUncheckInteractParent() {
		return uncheckInteractParent;
	}

	public void setUncheckInteractParent(Boolean uncheckInteractParent) {
		this.uncheckInteractParent = uncheckInteractParent;
	}

	public Boolean isUncheckInteractSub() {
		return uncheckInteractSub;
	}

	public void setUncheckInteractSub(Boolean uncheckInteractSub) {
		this.uncheckInteractSub = uncheckInteractSub;
	}

	public List<SysResourceTree> getNodes() {
		return nodes;
	}

	public void setNodes(List<SysResourceTree> nodes) {
		this.nodes = nodes;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public List<SysResourceTree> getChildren() {
		return children;
	}

	public void setChildren(List<SysResourceTree> children) {
		this.children = children;
	}

	public Boolean getSelected() {
		return selected;
	}

	public void setSelected(Boolean selected) {
		this.selected = selected;
	}
	
	
}
